3.1.4 \(\int (a+b x^2) (c+d x^2) (e+f x^2) \, dx\) [4]

Optimal. Leaf size=56 \[ a c e x+\frac {1}{3} (b c e+a d e+a c f) x^3+\frac {1}{5} (b d e+b c f+a d f) x^5+\frac {1}{7} b d f x^7 \]

[Out]

a*c*e*x+1/3*(a*c*f+a*d*e+b*c*e)*x^3+1/5*(a*d*f+b*c*f+b*d*e)*x^5+1/7*b*d*f*x^7

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {535} \begin {gather*} \frac {1}{5} x^5 (a d f+b c f+b d e)+\frac {1}{3} x^3 (a c f+a d e+b c e)+a c e x+\frac {1}{7} b d f x^7 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x^2)*(c + d*x^2)*(e + f*x^2),x]

[Out]

a*c*e*x + ((b*c*e + a*d*e + a*c*f)*x^3)/3 + ((b*d*e + b*c*f + a*d*f)*x^5)/5 + (b*d*f*x^7)/7

Rule 535

Int[((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.)*((e_) + (f_.)*(x_)^(n_))^(r_.), x_Symbol] :>
 Int[ExpandIntegrand[(a + b*x^n)^p*(c + d*x^n)^q*(e + f*x^n)^r, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && I
GtQ[p, 0] && IGtQ[q, 0] && IGtQ[r, 0]

Rubi steps

\begin {align*} \int \left (a+b x^2\right ) \left (c+d x^2\right ) \left (e+f x^2\right ) \, dx &=\int \left (a c e+(b c e+a d e+a c f) x^2+(b d e+b c f+a d f) x^4+b d f x^6\right ) \, dx\\ &=a c e x+\frac {1}{3} (b c e+a d e+a c f) x^3+\frac {1}{5} (b d e+b c f+a d f) x^5+\frac {1}{7} b d f x^7\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 56, normalized size = 1.00 \begin {gather*} a c e x+\frac {1}{3} (b c e+a d e+a c f) x^3+\frac {1}{5} (b d e+b c f+a d f) x^5+\frac {1}{7} b d f x^7 \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x^2)*(c + d*x^2)*(e + f*x^2),x]

[Out]

a*c*e*x + ((b*c*e + a*d*e + a*c*f)*x^3)/3 + ((b*d*e + b*c*f + a*d*f)*x^5)/5 + (b*d*f*x^7)/7

________________________________________________________________________________________

Maple [A]
time = 0.13, size = 53, normalized size = 0.95

method result size
default \(\frac {b d f \,x^{7}}{7}+\frac {\left (\left (a d +b c \right ) f +b d e \right ) x^{5}}{5}+\frac {\left (a c f +\left (a d +b c \right ) e \right ) x^{3}}{3}+a c e x\) \(53\)
norman \(\frac {b d f \,x^{7}}{7}+\left (\frac {1}{5} a d f +\frac {1}{5} b c f +\frac {1}{5} b d e \right ) x^{5}+\left (\frac {1}{3} a c f +\frac {1}{3} a d e +\frac {1}{3} b c e \right ) x^{3}+a c e x\) \(55\)
gosper \(\frac {1}{7} b d f \,x^{7}+\frac {1}{5} x^{5} a d f +\frac {1}{5} x^{5} b c f +\frac {1}{5} x^{5} b d e +\frac {1}{3} x^{3} a c f +\frac {1}{3} x^{3} a d e +\frac {1}{3} x^{3} b c e +a c e x\) \(63\)
risch \(\frac {1}{7} b d f \,x^{7}+\frac {1}{5} x^{5} a d f +\frac {1}{5} x^{5} b c f +\frac {1}{5} x^{5} b d e +\frac {1}{3} x^{3} a c f +\frac {1}{3} x^{3} a d e +\frac {1}{3} x^{3} b c e +a c e x\) \(63\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^2+a)*(d*x^2+c)*(f*x^2+e),x,method=_RETURNVERBOSE)

[Out]

1/7*b*d*f*x^7+1/5*((a*d+b*c)*f+b*d*e)*x^5+1/3*(a*c*f+(a*d+b*c)*e)*x^3+a*c*e*x

________________________________________________________________________________________

Maxima [A]
time = 0.26, size = 55, normalized size = 0.98 \begin {gather*} \frac {1}{7} \, b d f x^{7} + \frac {1}{5} \, {\left (b d e + {\left (b c + a d\right )} f\right )} x^{5} + \frac {1}{3} \, {\left (a c f + b c e + a d e\right )} x^{3} + a c x e \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)*(d*x^2+c)*(f*x^2+e),x, algorithm="maxima")

[Out]

1/7*b*d*f*x^7 + 1/5*(b*d*e + (b*c + a*d)*f)*x^5 + 1/3*(a*c*f + b*c*e + a*d*e)*x^3 + a*c*x*e

________________________________________________________________________________________

Fricas [A]
time = 0.92, size = 59, normalized size = 1.05 \begin {gather*} \frac {1}{7} \, b d f x^{7} + \frac {1}{5} \, {\left (b c + a d\right )} f x^{5} + \frac {1}{3} \, a c f x^{3} + \frac {1}{15} \, {\left (3 \, b d x^{5} + 5 \, {\left (b c + a d\right )} x^{3} + 15 \, a c x\right )} e \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)*(d*x^2+c)*(f*x^2+e),x, algorithm="fricas")

[Out]

1/7*b*d*f*x^7 + 1/5*(b*c + a*d)*f*x^5 + 1/3*a*c*f*x^3 + 1/15*(3*b*d*x^5 + 5*(b*c + a*d)*x^3 + 15*a*c*x)*e

________________________________________________________________________________________

Sympy [A]
time = 0.01, size = 63, normalized size = 1.12 \begin {gather*} a c e x + \frac {b d f x^{7}}{7} + x^{5} \left (\frac {a d f}{5} + \frac {b c f}{5} + \frac {b d e}{5}\right ) + x^{3} \left (\frac {a c f}{3} + \frac {a d e}{3} + \frac {b c e}{3}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x**2+a)*(d*x**2+c)*(f*x**2+e),x)

[Out]

a*c*e*x + b*d*f*x**7/7 + x**5*(a*d*f/5 + b*c*f/5 + b*d*e/5) + x**3*(a*c*f/3 + a*d*e/3 + b*c*e/3)

________________________________________________________________________________________

Giac [A]
time = 1.32, size = 66, normalized size = 1.18 \begin {gather*} \frac {1}{7} \, b d f x^{7} + \frac {1}{5} \, b c f x^{5} + \frac {1}{5} \, a d f x^{5} + \frac {1}{5} \, b d x^{5} e + \frac {1}{3} \, a c f x^{3} + \frac {1}{3} \, b c x^{3} e + \frac {1}{3} \, a d x^{3} e + a c x e \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)*(d*x^2+c)*(f*x^2+e),x, algorithm="giac")

[Out]

1/7*b*d*f*x^7 + 1/5*b*c*f*x^5 + 1/5*a*d*f*x^5 + 1/5*b*d*x^5*e + 1/3*a*c*f*x^3 + 1/3*b*c*x^3*e + 1/3*a*d*x^3*e
+ a*c*x*e

________________________________________________________________________________________

Mupad [B]
time = 0.05, size = 54, normalized size = 0.96 \begin {gather*} \frac {b\,d\,f\,x^7}{7}+\left (\frac {a\,d\,f}{5}+\frac {b\,c\,f}{5}+\frac {b\,d\,e}{5}\right )\,x^5+\left (\frac {a\,c\,f}{3}+\frac {a\,d\,e}{3}+\frac {b\,c\,e}{3}\right )\,x^3+a\,c\,e\,x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x^2)*(c + d*x^2)*(e + f*x^2),x)

[Out]

x^3*((a*c*f)/3 + (a*d*e)/3 + (b*c*e)/3) + x^5*((a*d*f)/5 + (b*c*f)/5 + (b*d*e)/5) + a*c*e*x + (b*d*f*x^7)/7

________________________________________________________________________________________